Kanzi 4.0.0-beta2
kanzi::gfx::SignalGpuFenceCommand Struct Reference

Signals a GPU fence. More...

#include <kanzi/gfx/commands.hpp>

Inheritance diagram for kanzi::gfx::SignalGpuFenceCommand:
[legend]

Public Member Functions

 SignalGpuFenceCommand ()
 Constructor.
 
- Public Member Functions inherited from kanzi::gfx::BaseCommand
uint32_t getSize () const
 Gets the command size in bytes.
 
uint8_t getTag () const
 Gets the command tag.
 
CommandType getType () const
 Gets the command type.
 
void setTag (uint8_t tag)
 Sets the command tag.
 

Public Attributes

GpuFenceHandleGuard fence
 The GPU fence to signal.
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::gfx::BaseCommand
 BaseCommand (CommandType t, uint32_t s)
 Constructor.
 
 BaseCommand (const BaseCommand &other)
 Copy Constructor.
 
BaseCommandoperator= (const BaseCommand &other)
 Assignment operator.
 

Detailed Description

Signals a GPU fence.

Use the gfx::waitForGpuFence() function to synchronize GPU execution with the CPU.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ SignalGpuFenceCommand()

kanzi::gfx::SignalGpuFenceCommand::SignalGpuFenceCommand ( )
inline

Constructor.

Member Data Documentation

◆ fence

GpuFenceHandleGuard kanzi::gfx::SignalGpuFenceCommand::fence

The GPU fence to signal.


The documentation for this struct was generated from the following file: